home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48_2
/
h_piper_.0
< prev
next >
Wrap
Internet Message Format
|
1995-03-23
|
13KB
Path: ecsgate!mcnc!gatech!prism!vapsppr
From: vapsppr@prism.gatech.EDU (Paul Raines)
Newsgroups: comp.sys.handhelds
Subject: H. Piper! ver 2.0 (CURVED CORNERS & RESUME GAME)
Message-ID: <29827@hydra.gatech.EDU>
Date: 24 May 91 22:13:42 GMT
Organization: Georgia Institute of Technology
Lines: 240
Below are both the ASC and UUE versions of H.Piper! 2.0
Changes: - CURVED CORNERS!!!
- resume game ability!
- most randomness removed
RESUME: Between jobs (i.e. while at the dripping faucet wait
screen) you can press the decimal (.) key to leave
the game and go to the regular calculator mode. The
total score and level you achieved will be stored in
the user flags so that next time you start the game,
you will resume the game as you left it. Do not
run the SCORE program or you will lose the resumable
state.
RANDOM: The starting pipe for the first level is still
placed randomly. For subsequent levels, however,
the starting pipe is located on the grid site
you "leaked" on with the starting direction opposite
of that you entered. If you leaked onto the border,
then the starting pipe is placed on the site you
leaked from.
The first five pipes in the queue are selected
randomly. Placing a pipe on the grid with the (7)
key will still randomly select a new pipe to put at
the top of the queue. If you press (4) to place
a pipe, the pipe at the top of the queue will be
the one currently displayed between the score and
level indicators.
General Notes: Some people have reported assorted problems with
getting the program to work. For those who can't get
ASC-> to work, it works for me. If one of these people
would mail me the ASC they are trying to get to work, I
might be able to find a solution. For those who can't get
SCHIP to work with H. Piper, try turning off all alarms
and date/clock displays. If any of you have Chipper,
you might try compiling the v1.2 source code I posted and
see if you can get it to run from there. I am really
sorry for all these problems, but I am at a loss to help
right now.
Development Notes: It is really funny how work involved on
each aspect of this last update was inversely proportional
to what I expected. The rounded corners were much, much
easier to implement than I thought. It does increase the
code size by a hefty chunk, but it took little work. The
derandomization of the starting pipe was an absolute
b:tch. I had to extensively recode several procedures
and add some complex testing just to make sure you didn't
end up having a starting pipe going into a border.
Program Size: I have put a semi-rigid limit of 2K on the size
of the program. Any improvement that will put it over
that barrier just won't be worth it. (I will of course
probably eat these words later.)
Everyone please keep me informed on your success in getting this
version to run. Also, any comments and suggestions are welcome.
-------( cut here for ASC version)------------------------------
%%HP: T(3)A(D)F(.);
"C2A20D4E0021616723E20302251696E6563702823692021393931300FF3F58E8
0234102162E6E4060016008AE61F55C6FF0600160026002F57000E06B0160026
008ACA2FE11F552720238721C3060026008A462FE11F552720236021C48A2706
62169336003FE10D5136500780036421068A68068616200D51078026502FE10D
518A09068616A20D51078026502FE10D51180E1865064608518AE10F332F5636
A546931F923D5437502F923D54080E7ACB0F557AEC060016000D210780030621
4B46207A4A06000DC47A0B06800DC447C043E321EB7600080772027710735021
2D162306017AED0D6107800306212E160006067A2A0D2117201383210FD64342
2142E142C216208A6106010D81078003063160178013233140C4FF31A2B40036
60B4303640B4603620B450360031833C703710CC03C701C8433C3038E58AC53F
E11F56B80028019802080C622762CCA62042E37600860072E5720806FF0F5106
700E1A32AA06800E1A324C06300E1A32ED06600E1A328F06100E1A32C806400E
1A326906F00E1AE6200F70040042E431A506F07202080D622700EE72C1080D62
2700EE080D16F00821180D185000EE422142C232E907FF04FF0600D801D84042
2142C20609426300EE422142C232E9071004A00690D801D840422142C2060942
6300EE42E142C232E9170F140F1600D801D84042E142C20609426300EE42E142
C232E9170114061605D801D84042E142C20609426300EE32E9070662A28A640D
4100EE32E9080107A062A28AE30D8100EE080D62A28A630D8100EE07FF030041
6300EE8A45AFE10F5662CB06C616C10D8100EE42E3A7100809160F0821040041
46A4404129A4505122280AB30041E62680285A080B086508650300410CB30027
FF080C62A218428AA40D11F4005140A3105140960051E3B8390670B820080C62
A29361414A8AC4174093D141CA8AE417209351414B8A05174093E141CB8A2517
200D215122B350410D3608248041CD38652710416C3610248041CD38E5271041
2D180308038AE11F558AE1080C62A217309330416FA440418FA3500D21F40051
40A3105140960051E3A380512272E50600771073465161871076000710033051
C072E5A600624E080E180818471400070B0F5142E300EE06B00EE951430E1A51
8300EE06300F815223000E260036008ACA2FE11F5627203841238751A434C387
108AE61F56084736460853480F430017104310074618488AE61F555800368246
828AA61F332F560F033DA437B01F033DA437B02F033DA48AA65F332F5637B01F
033DA437B02F033DA472E57ACB0F56E800E420E740E7CF8300512C0865164618
507851F40051CC526F030021433610510E8AA906A216810D51078026502FE10D
51526F36008AE61F56280E3F5706B00E1A51AE06000E1A510F00DF7AEC362046
803D847A6E36A03D848A4A36E046013D740652426306B00E1A618206000E1A61
823D744720448361603D7461C000EE1800F60F182F1865F6F0082F08E508E508
E50701172000EE070F17EF08650865086518E5084100EE8ACA1800F6F0182F18
E51FE1F60F082F0865180018651865084108E50FE100EE380062251F56560003
B056FF1400618816301F81614A62CB080362A20D8108036225160008021F5508
0262CB080362A20D8172E5784573FF618B8400616B87FF7636618B760072E500
EE16F0082108E508E508E57AEB0FE100EE080C62251F5604B051E39800080C62
25080916101F5500EE3600B4603610B4303601B400360FB45036FF180C1843F6
0F182F140F51E3140651E3180C1843F6F0182F14F051E314A051E3C84362CC00
EE180A71A21C7008650865040018658A451FE10F565800463036008A463FE10F
56280062CB06400D848A463FE108050F5562CB06400D8447C058023710335071
6300EE369646908AA68F332F562F923D5437608AA67F332F561F923D5437602F
923D5400EE080E07EF08650865164118508AA61F332F561F03368646233DA437
B02F033DA400EE8F8F0C0C0C0C0C0C0C0C0C0C0CFF3030303030303030303030
FF000000000000000000003C3C3C3C3C3C3C3CFFFF00000000FFFF3C3C000000
003C3CFFFFFFFFFFFFFFFFFFFFF0703030383CFFFF0F0E0C0C1C3CFFFF0C0C0C
0CFFFFFFFF30303030FFFF3C3C3C3C3C3CFFFFFFFF3C3C3C3C3C3C00E7242424
24E70000000000000000003C1C0C0C0E0FFFFF3C38303070F0FFFF000081C3C3
8100000001010707010100008181E781008040408001020201D15161E1102030
3060705080009030A000000000000000000000000000003A2A3E2AAABB293921
A3BB2A3B22A388888804849D292D259DB3AA3BAAB2A929A9199D4B4A4B4263AE
AAEA4A4EEEA8EC989E0202078F8F8F0700B000B000B000B000B000B000B000B0
00B000B000B000B000B000B000B000B000B000B000B000B000B000B000B000B0
00B000B000B000B000B000B000B000B000B000B000B000B000B000B000B000B0
00B000B000B000B000B000B000B000B000B000B000B000B000B000B000B000B0
00B000B000B000B000ED72"
---------( cut here - end of ASC version)-----------------------
SCORE program to read last games score and level
from the user flags:
%%HP: T(3)A(D)F(.);
\<< RCLF 2 GET
# FFFFFFh AND DUP
# FFFFh AND DUP
# FFh AND SWAP
# 100h / # 64h * +
B\->R SWAP # 10000h /
# 2h - # 4h / # 14h
SWAP - B\->R 1 - RCLF
2 # 0h PUT STOF
\>>
------(cut here for UUE version)--------------------------------
begin 600 vapsppr
M"B4E2%`Z(%0H,RE!*$0I1B@N*3L*(D,R03(P1#1%,#`R,38Q-C<R,T4R,#,P
M,C(U,38Y-D4V-38S-S`R.#(S-CDR,#(Q,SDS.3,Q,S`P1D8S1C4X13@*,#(S
M-#$P,C$V,D4V130P-C`P,38P,#A!138Q1C4U0S9&1C`V,#`Q-C`P,C8P,#)&
M-3<P,#!%,#9",#$V,#`R-@HP,#A!0T$R1D4Q,48U-3(W,C`R,S@W,C%#,S`V
M,#`R-C`P.$$T-C)&13$Q1C4U,C<R,#(S-C`R,4,T.$$R-S`V"C8R,38Y,S,V
M,#`S1D4Q,$0U,3,V-3`P-S@P,#,V-#(Q,#8X038X,#8X-C$V,C`P1#4Q,#<X
M,#(V-3`R1D4Q,$0*-3$X03`Y,#8X-C$V03(P1#4Q,#<X,#(V-3`R1D4Q,$0U
M,3$X,$4Q.#8U,#8T-C`X-3$X044Q,$8S,S)&-38S-@I!-30V.3,Q1CDR,T0U
M-#,W-3`R1CDR,T0U-#`X,$4W04-",$8U-3=!14,P-C`P,38P,#!$,C$P-S@P
M,#,P-C(Q"C1"-#8R,#=!-$$P-C`P,$1#-#=!,$(P-C@P,$1#-#0W0S`T,T4S
M,C%%0C<V,#`P.#`W-S(P,C<W,3`W,S4P,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C`P,$(P,#!",#`P0C`P,$(P"C`P0C`P,$(P,#!",#`P0C`P,$(P,#!"
M,#`P0C`P,$(P,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P,#!",#`P0C`*,#!"
M,#`P0C`P,$(P,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P
M,#!",#`P0C`P,$(P,#!",`HP,$(P,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P
M,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P,#!",#`P0C`P,$(P"C`P0C`P,$(P
M,#!",#`P0C`P,$5$-S(B"@H*)25(4#H@5"@S*4$H1"E&*"XI.PI</#P@4D-,
M1B`R($=%5`HC($9&1D9&1F@@04Y$($154`HC($9&1D9H($%.1"!$55`*(R!&
M1F@@04Y$(%-705`*(R`Q,#!H("\@(R`V-&@@*B`K"D)<+3Y2(%-705`@(R`Q
M,#`P,&@@+PHC(#)H("T@(R`T:"`O(",@,31H"E-705`@+2!"7"T^4B`Q("T@
:4D-,1@HR(",@,&@@4%54(%-43T8*7#X^"@IH
`
end
-----------(end of UUE version)------------------------------
Thats it. Enjoy!
Paul
--
Paul Raines
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!vapsppr
Internet: vapsppr@prism.gatech.edu